package com.ruoyi.shop.goods.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商品服务对象 shop_goods_service
 * 
 * @author xuxiang
 * @date 2024-03-07
 */
public class ShopGoodsService extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 服务id */
    private Long serviceId;

    /** 服务名称 */
    @Excel(name = "服务名称")
    private String serviceName;

    /** 服务描述 */
    @Excel(name = "服务描述")
    private String description;

    /** 状态是否显示(0是1否) */
    @Excel(name = "状态是否显示(0是1否)")
    private Integer status;
    
    /** 排序号 */
    @Excel(name = "排序号")
    private Integer sort;

    /** 删除标识 */
    private Integer delFlag;

    /** 门店id */
    @Excel(name = "门店id")
    private Long storeId;
    
    /** 商品是否存在此服务标识 默认不存在 */
    private boolean flag = false;

    public void setServiceId(Long serviceId) 
    {
        this.serviceId = serviceId;
    }

    public Long getServiceId() 
    {
        return serviceId;
    }
    public void setServiceName(String serviceName) 
    {
        this.serviceName = serviceName;
    }

    public String getServiceName() 
    {
        return serviceName;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setDelFlag(Integer delFlag) 
    {
        this.delFlag = delFlag;
    }

    public Integer getDelFlag() 
    {
        return delFlag;
    }
    public void setStoreId(Long storeId) 
    {
        this.storeId = storeId;
    }

    public Long getStoreId() 
    {
        return storeId;
    }

    public Integer getSort() {
		return sort;
	}

	public void setSort(Integer sort) {
		this.sort = sort;
	}

	public boolean isFlag() {
		return flag;
	}

	public void setFlag(boolean flag) {
		this.flag = flag;
	}

	@Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("serviceId", getServiceId())
            .append("serviceName", getServiceName())
            .append("description", getDescription())
            .append("status", getStatus())
            .append("sort", getSort())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("delFlag", getDelFlag())
            .append("storeId", getStoreId())
            .append("flag", getDelFlag())
            .toString();
    }
}
